package com.ticket.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ticket.entity.Player;
import com.ticket.mapper.PlayerMapper;
import com.ticket.service.IPlayerService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PlayerServiceImpl extends ServiceImpl<PlayerMapper, Player> implements IPlayerService {

    @Override
    public List<Player> getPlayersByTeamId(Long teamId) {
        return baseMapper.getPlayersByTeamId(teamId);
    }
} 